package qzy.dao.impl;

import org.springframework.stereotype.Repository;

import qzy.dao.ISysUserDao;
import qzy.entity.SysUser;

@Repository("userDao")
public class SysUserDaoImpl implements ISysUserDao {

	@Override
	public SysUser getUserByName(String username) {
		SysUser sysUser = new SysUser();
		sysUser.setUsername(username);
		sysUser.setPassword("123456");
		sysUser.setUserrole("ROLE_ADMIN");
		return sysUser;
	}

}
